package com.xja.seckill.service.impl;

import com.xja.seckill.order.domain.mapper.OrderDetailMapper;
import com.xja.seckill.order.domain.model.OrderDetail;
import com.xja.seckill.service.OrderDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderDetailServiceImpl implements OrderDetailService {

    @Autowired
    private OrderDetailMapper orderDetailMapper;


    @Override
    public OrderDetail selectById(Integer id) {
        return orderDetailMapper.selectByPrimaryKey(id);
    }
}
